<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>登录</title>
</head>
<body>
<form method="post" action="/login">
    <p th:text="${error}"></p>
    <p> 用户名<input type="text" name="username"></p>
    <p> 密码<input type="text" name="userpwd"></p>
    <p><input type="checkbox" name="rememberMe" />记住我</p>
    <p><input type="submit" name=""></p>
</form>
</body>
</html>